package com.tsp_tux.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

/**
 * @author 张志豪
 * 专题id，专题名称，专题日期，专题介绍，专题创建人及id，专题收藏数
 */

@Data
@NoArgsConstructor
public class SubjectInfo {
    private int sid;
    private String subName;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    private String content;
    private String uid;
    private String founder;
    private int participateNum;
}
